/**
 * @class Ext.calendar.data.EventMappings
 * @extends Object
 * A simple object that provides the field definitions for Event records so that they can be easily overridden.
 */
Ext.ns('Ext.calendar.data');

Ext.calendar.data.EventMappings = {
    EventId: { //identificacion App, falta identificacion store
        name: 'id',//idactividadpersonal
        mapping: 'idactividadpersonal',
        type: 'int'
    },
    CalendarId: {
        name: 'idlugar',
        mapping: 'idlugar',
        type: 'int'
    },

    idactividadpersonal: { //identificacion App, falta identificacion store
        name: 'idactividadpersonal',
        mapping: 'idactividadpersonal',
        type: 'int'
    },

    /*CalendarId: {
        name: 'CalendarId',
        mapping: 'idactividad',
        type: 'int'
    },
    /*Actividad: {
        name: 'actividad',
        mapping: 'actividad',
        type: 'int'
    },*/
    Title: {
        name: 'idactividad',
        mapping: 'actividad',
        type: 'string'
    },
    StartDate: {
        name: 'StartDate',
        mapping: 'fecinicio',
        type: 'date',
        dateFormat: 'c'
    },
    EndDate: {
        name: 'EndDate',
        mapping: 'fecfin',
        type: 'date',
        dateFormat: 'c'
    },
    IsAllDay: {
        name: 'IsAllDay',
        mapping: 'tododia',
        type: 'boolean'
    },
    Valor: {
        name: 'valor',
        mapping: 'valor',
        type: 'string'
    },
    Programado: {
        name: 'programado',
        mapping: 'programado',
        //value:100,
        type: 'float'
    },
    Ejecutado: {
        name: 'ejecutado',
        mapping: 'ejecutado',
        type: 'float'
    },
    Sustento: {
        name: 'sustento',
        mapping: 'sustento',
        type: 'string'
    },
    Location: {
        name: 'Location',
        mapping: 'lugar',
        type: 'string'
    },
    Notes: {
        name: 'Notes',
        mapping: 'notas',
        type: 'string'
    },
    Url: {
        name: 'Url',
        mapping: 'url',
        type: 'string'
    },
    Reminder: {
        name: 'Reminder',
        mapping: 'rem',
        type: 'string'
    },
    IsNew: {
        name: 'IsNew',
        mapping: 'n',
        type: 'boolean'
    }
};